//for(description in model_image)
//{
//	document.write('<style>.ke-icon-del'+model_image[description]+'{background-image: url('+_PUBLIC_+'/Js/editor/skins/tinymce/tinymce.gif);background-position: -902px 0px;width: 16px;height: 16px;}</style>');
//	KE.lang["del"+model_image[description]] = "删除图片";
//	KE.plugin["del"+model_image[description]] = {
//    	click : function(id) {
//		KE.g[id].iframeDoc.body.innerHTML = "";
//	}
//	};
//    KE.show({ 
//       id : model_image[description], //TEXTAREA输入框的ID 
//       items:['image','del'+model_image[description]],
//       width:360,
//       height:200,
//       afterCreate : function(id) {
//  			KE.readonly(id);
//  			KE.g[id].newTextarea.disabled = true;
//  		}
//  });

		
//}
//for(description in model_content)
//{
//	KE.show({ 
//	       id : model_content[description] //TEXTAREA输入框的ID 
//	  });
//}

function add(){
	for(description in model_image)
	{
		KE.util.setData(model_image[description]);
	}
	for(description in model_content)
	{
		KE.util.setData(model_content[description]);
	}
	document.getElementById("form1").submit();
}

function update(){
//	for(description in model_image)
//	{
//		KE.util.setData(model_image[description]);
//	}
//	for(description in model_content)
//	{
//		KE.util.setData(model_content[description]);
//	}
	
	document.getElementById("form1").submit();
}

function upload(){
	document.getElementById("form1").submit();
}

